import { RequestPayload } from '@core/types';
import { Logger } from '@nodejs/logger'
export interface IHandler<T = any, R = any> {
    (payload: T, user?: any, logger?: Logger, req?: RequestPayload): Promise<R>;
}